<html> 
<body>
<div id="test">
<span id="A"></span><span id="B"></span><span id="C"></span><span id="D"></span><span id="E"></span><span id="F"></span><span id="G"></span><span id="H"></span><span id="I"></span>
</div>
<script>
Node.prototype.foo = "child";

var root = document.getElementById('test');
var it = document.createNodeIterator(root, NodeFilter.SHOW_ELEMENT,
                                     function () { return true }, false);
</script>
